class Background {
    constructor() {
        this.x = 0;
        this.y = 0;
        this.img = resObj[0];
        this.width = screen.availWidth;
        this.height = 720;
    }
    draw(ctx) {
    ctx.drawImage(this.img, this.x, this.y, this.width, this.height);
    }
}
